package com.onesports.intelligent.k12.polarlight.domain.dto.sys;

import com.onesports.framework.kit.common.valid.Length;
import com.onesports.framework.kit.common.valid.NotEmpty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author zengzl
 */
@Data
@ApiModel("个人中心修改DTO")
public class PersonalCenterUpdDTO {
    @ApiModelProperty("用户名")
    @NotEmpty(message = "姓名不能为空")
    @Length(max = 20, message = "姓名字数最大为20")
    private String username;

    @ApiModelProperty("性别")
    private String gender;

    @ApiModelProperty("头像")
    private String headUrl;
}
